from rest_framework import serializers
from ..models.GlobalTables import DepartmentType

class DepartTypeCreateSerializer(serializers.ModelSerializer):
    class Meta:
        model = DepartmentType
        fields = ["name", "zh_name"]